# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.5.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QFormLayout, QHBoxLayout,
    QLabel, QLayout, QLineEdit, QMainWindow,
    QPlainTextEdit, QPushButton, QScrollArea, QSizePolicy,
    QStatusBar, QVBoxLayout, QWidget)
import image_rc

class Ui_mainWindow(object):
    def setupUi(self, mainWindow):
        if not mainWindow.objectName():
            mainWindow.setObjectName(u"mainWindow")
        mainWindow.resize(700, 900)
        self.centralwidget = QWidget(mainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_3 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setSpacing(2)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout_3.setContentsMargins(5, 5, 5, 0)
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setSpacing(14)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(-1, -1, 0, 0)
        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")

        self.horizontalLayout.addLayout(self.verticalLayout)

        self.model_pushButton = QPushButton(self.centralwidget)
        self.model_pushButton.setObjectName(u"model_pushButton")
        sizePolicy = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.model_pushButton.sizePolicy().hasHeightForWidth())
        self.model_pushButton.setSizePolicy(sizePolicy)
        self.model_pushButton.setMinimumSize(QSize(10, 20))
        self.model_pushButton.setCursor(QCursor(Qt.PointingHandCursor))

        self.horizontalLayout.addWidget(self.model_pushButton)

        self.text_to_img_pushButton = QPushButton(self.centralwidget)
        self.text_to_img_pushButton.setObjectName(u"text_to_img_pushButton")
        self.text_to_img_pushButton.setMinimumSize(QSize(75, 59))

        self.horizontalLayout.addWidget(self.text_to_img_pushButton)

        self.formLayout = QFormLayout()
        self.formLayout.setObjectName(u"formLayout")
        self.formLayout.setLabelAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
        self.formLayout.setFormAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
        self.formLayout.setHorizontalSpacing(6)
        self.formLayout.setVerticalSpacing(15)
        self.formLayout.setContentsMargins(-1, -1, 0, -1)
        self.apikey_lineEdit = QLineEdit(self.centralwidget)
        self.apikey_lineEdit.setObjectName(u"apikey_lineEdit")
        self.apikey_lineEdit.setClearButtonEnabled(True)

        self.formLayout.setWidget(0, QFormLayout.FieldRole, self.apikey_lineEdit)

        self.label_2 = QLabel(self.centralwidget)
        self.label_2.setObjectName(u"label_2")

        self.formLayout.setWidget(1, QFormLayout.LabelRole, self.label_2)

        self.Secretkey_lineEdit = QLineEdit(self.centralwidget)
        self.Secretkey_lineEdit.setObjectName(u"Secretkey_lineEdit")
        self.Secretkey_lineEdit.setEchoMode(QLineEdit.Password)
        self.Secretkey_lineEdit.setClearButtonEnabled(True)

        self.formLayout.setWidget(1, QFormLayout.FieldRole, self.Secretkey_lineEdit)

        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")

        self.formLayout.setWidget(0, QFormLayout.LabelRole, self.label)


        self.horizontalLayout.addLayout(self.formLayout)

        self.verticalLayout_2 = QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(-1, 0, -1, 0)

        self.horizontalLayout.addLayout(self.verticalLayout_2)

        self.continuous_checkBox = QCheckBox(self.centralwidget)
        self.continuous_checkBox.setObjectName(u"continuous_checkBox")

        self.horizontalLayout.addWidget(self.continuous_checkBox)


        self.verticalLayout_3.addLayout(self.horizontalLayout)

        self.talk_scrollArea = QScrollArea(self.centralwidget)
        self.talk_scrollArea.setObjectName(u"talk_scrollArea")
        font = QFont()
        font.setUnderline(False)
        self.talk_scrollArea.setFont(font)
        self.talk_scrollArea.setWidgetResizable(True)
        self.Contents_scrollAreaWidget = QWidget()
        self.Contents_scrollAreaWidget.setObjectName(u"Contents_scrollAreaWidget")
        self.Contents_scrollAreaWidget.setGeometry(QRect(0, 0, 688, 654))
        self.talk_scrollArea.setWidget(self.Contents_scrollAreaWidget)

        self.verticalLayout_3.addWidget(self.talk_scrollArea)

        self.send_plainTextEdit = QPlainTextEdit(self.centralwidget)
        self.send_plainTextEdit.setObjectName(u"send_plainTextEdit")
        self.send_plainTextEdit.setMaximumSize(QSize(16777215, 150))
        font1 = QFont()
        font1.setPointSize(12)
        font1.setBold(False)
        font1.setItalic(False)
        font1.setUnderline(False)
        font1.setKerning(False)
        font1.setStyleStrategy(QFont.PreferDefault)
        font1.setHintingPreference(QFont.PreferNoHinting)
        self.send_plainTextEdit.setFont(font1)
        self.send_plainTextEdit.setPlaceholderText(u"\u8bf7\u5b8c\u6574\u8be6\u7ec6\u7684\u63cf\u8ff0\u4f60\u7684\u95ee\u9898\uff0c\u53ef\u6309\u4e0bCtrl+Alt+S\u7ec4\u5408\u952e\u53d1\u9001\u6d88\u606f")

        self.verticalLayout_3.addWidget(self.send_plainTextEdit)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setSizeConstraint(QLayout.SetMinimumSize)

        self.verticalLayout_3.addLayout(self.horizontalLayout_2)

        mainWindow.setCentralWidget(self.centralwidget)
        self.token_statusbar = QStatusBar(mainWindow)
        self.token_statusbar.setObjectName(u"token_statusbar")
        mainWindow.setStatusBar(self.token_statusbar)

        self.retranslateUi(mainWindow)

        QMetaObject.connectSlotsByName(mainWindow)
    # setupUi

    def retranslateUi(self, mainWindow):
        mainWindow.setWindowTitle(QCoreApplication.translate("mainWindow", u"\u6587\u5fc3\u4e00\u8a00", None))
        self.model_pushButton.setText(QCoreApplication.translate("mainWindow", u"\u6a21\u578b\u914d\u7f6e", None))
        self.text_to_img_pushButton.setText(QCoreApplication.translate("mainWindow", u"\u6587\u751f\u56fe", None))
        self.apikey_lineEdit.setInputMask("")
        self.apikey_lineEdit.setText("")
        self.label_2.setText(QCoreApplication.translate("mainWindow", u"Secret Key:", None))
        self.label.setText(QCoreApplication.translate("mainWindow", u"API Key:", None))
        self.continuous_checkBox.setText(QCoreApplication.translate("mainWindow", u"\u8fde\u7eed\u5bf9\u8bdd", None))
        self.send_plainTextEdit.setPlainText("")
    # retranslateUi

